
#include "Library.h"


MONSTER::MONSTER()
{
	//do something later
}

MONSTER::MONSTER(MONSTER* monster)
{
	SetName(monster->GetName());
	SetMaxHealth(monster->GetMaxHealth());
	SetHealth(monster->GetHealth());
	SetArmor(monster->GetArmor());
	SetGold(monster->GetGold());
	SetExperience(monster->GetExperience());
	SetAttack(monster->GetAttack());
	SetPoisoned(false);
	SetMonster(true);
}

void MONSTER::CreateMonster(char* newname,int hp,int mp,int att,int ap,int gp,int xp)
{
	SetName(newname);
	SetMaxHealth(hp);
	SetHealth(hp);
	SetMaxMana(mp);
	SetMana(mp);
	SetAttack(att);
	SetArmor(ap);
	SetGold(gp);
	SetExperience(xp);
	SetPoisoned(false);
	SetMonster(true);
}

void MONSTER::SetAttack(int amount)
{
	attack = amount;
}
int MONSTER::GetAttack()
{
	return attack;
}

void MONSTER::SetArmor(int amount)
{
	armor = amount;
}
int MONSTER::GetArmor()
{
	return armor;
}